float comfloat;
void setup() {
  // put your setup code here, to run once:
Serial.begin(9600);
while(Serial.read()>=0){}
}

void loop() {
  // put your main code here, to run repeatedly:
if(Serial.available()>0){
  delay(100);
  comfloat = Serial.parseInt();
  Serial.print("Serial.parseInt:");
  Serial.println(comfloat);
}
while(Serial.read()>=0){}
}
